00001
00013 #ifndef COMMANDS_H
00014 #define COMMANDS_H
00015
00016
00017 #define ZB_WRITE_CONFIGURATION 0x2605
00018 #define ZB_READ_CONFIGURATION 0x2604
00019 #define SYS_GPIO 0x210E
00020 #define SYS_TEST_RF 0x4140
00021 #define SYS_VERSION 0x2102
00022 #define SYS_RANDOM 0x210C
00023 #define SYS_OSAL_NV_READ 0x2108
00024 #define SYS_OSAL_NV_WRITE 0x2109
00025 #define SYS_RESET_IND 0x4180
00026
00027
00028 #define ZB_APP_REGISTER_REQUEST 0x260A
00029 #define ZB_APP_START_REQUEST 0x2600
00030 #define ZB_SEND_DATA_REQUEST 0x2603
00031 #define ZB_SEND_DATA_CONFIRM 0x4683
00032 #define ZB_GET_DEVICE_INFO 0x2606
00033 #define ZB_FIND_DEVICE_REQUEST 0x2607
00034 #define ZB_FIND_DEVICE_CONFIRM 0x4685
00035 #define ZB_PERMIT_JOINING_REQUEST 0x2608
00036 #define ZB_START_CONFIRM 0x4680
00037 #define ZB_RECEIVE_DATA_INDICATION 0x4687
00038
00039
00040 #define AF_REGISTER 0x2400
00041 #define AF_DATA_REQUEST 0x2401
00042 #define AF_DATA_CONFIRM 0x4480
00043 #define AF_INCOMING_MSG 0x4481
00044 #define ZDO_STARTUP_FROM_APP 0x2540
00045 #define ZDO_IEEE_ADDR_REQ 0x2501
00046 #define ZDO_IEEE_ADDR_RSP 0x4581
00047 #define ZDO_NWK_ADDR_REQ 0x2500
00048 #define ZDO_NWK_ADDR_RSP 0x4580
00049
00050
00051
00052 #define SRSP_STATUS_SUCCESS 0x00
00053 #define ZNP_SUCCESS 0x00
00054
00055
00056 #define NO_RESPONSE_EXPECTED 0x00
00057
00058
00059 char* getCommandName(unsigned int command);
00060
00061
00062 #endif